package musicboxfactory;

public class Test {
	public static void main(String []args){
		MusicBox m=null;
		m=MusicBoxFactory.getlnstance("ViolinBox");
		if(m!=null){
			m.play();
		}
	}
}
